<?
AZNet::$page = array ( 'id' => '7271', 'name' => 'sign_in', 'title' => 'Đăng nhập', 'layout' => 'layouts/nghiepquang_news_detail.html',);
$blocks = array(48798=>array('id'=>'48798','module_id'=>'5557','region'=>'header','module'=>array('id'=>'5557','name'=>'Header',),),48582=>array('id'=>'48582','module_id'=>'5524','region'=>'footer','module'=>array('id'=>'5524','name'=>'Footer',),),49654=>array('id'=>'49654','module_id'=>'1704','region'=>'center','module'=>array('id'=>'1704','name'=>'SignIn',),),49650=>array('id'=>'49650','module_id'=>'5688','region'=>'banner_slide','module'=>array('id'=>'5688','name'=>'IntroBanner',),),49651=>array('id'=>'49651','module_id'=>'5733','region'=>'left','module'=>array('id'=>'5733','name'=>'eBoxMenuCate',),),49652=>array('id'=>'49652','module_id'=>'5695','region'=>'left','module'=>array('id'=>'5695','name'=>'NewsMenu',),),49653=>array('id'=>'49653','module_id'=>'5731','region'=>'left','module'=>array('id'=>'5731','name'=>'eBoxSupportOnline',),),);
foreach($blocks as &$block){
	if(file_exists(DIR_MODULE.$block['module']['name'].'/class.php')){
		require_once DIR_MODULE.$block['module']['name'].'/class.php';
		$block['object'] = new $block['module']['name']($block);
		
		if(isset($_POST['form_block_id']) && $_POST['form_block_id'] == $block['id']){
			$block['object']->submit();
		}
	}
}
require_once ROOT_PATH."core/PageBegin.php" ?><div id="vs_wrapper">
    <div id="tcs-header">
<? if(isset($blocks[48798]['object'])) $blocks[48798]['object']->on_draw();?></div>
    <div id="tcs-container" style="padding: 0;">
        <div id="tcs-left" class="left">
            
<? if(isset($blocks[49651]['object'])) $blocks[49651]['object']->on_draw();?>
<? if(isset($blocks[49652]['object'])) $blocks[49652]['object']->on_draw();?>
<? if(isset($blocks[49653]['object'])) $blocks[49653]['object']->on_draw();?>
        </div>
        <div id="tcs-content" style="float: left;width: 751px;">
            <div id="tcs-banner-slide" style="min-height: 250px;">
                
<? if(isset($blocks[49650]['object'])) $blocks[49650]['object']->on_draw();?>
            </div>
            <div id="tcs-product">
                <div id="tcs-product-left">
                    
<? if(isset($blocks[49654]['object'])) $blocks[49654]['object']->on_draw();?>
                </div>

            </div>
        </div>
    </div>
    <div style="clear:both;">
<? if(isset($blocks[48582]['object'])) $blocks[48582]['object']->on_draw();?></div>

</div>
<? require_once ROOT_PATH.'core/PageEnd.php' ?>